<?php

namespace App\Model\Steam;
use Illuminate\Database\Eloquent\Model;

class SteamGameTag extends Model
{
    protected $table = 'steam_game_tag';
    public $timestamps = false;

    /**
     * 标签列表
     *
     * @param $id
     * @param $start
     * @param $limit
     * @return mixed
     */
    public static function tagsList()
    {
        $data = self::select('id', 'title')->where('status', 1)->get();
        if($data) {
            $data = $data->toArray();
        }
        return $data;
    }
}